package com.ghca.myinfo3.project.repository;

import com.ghca.myinfo3.project.entity.BidProject;
import com.ghca.myinfo3.project.entity.Project;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by gh on 2016/12/20.
 */
@Repository
public interface BidProjectRepository extends ProjectRepository<BidProject> {

    default int getModel() {
        return 1;
    }

    BidProject findByUrl(String url);
}
